package com.jna.unrar.bean;

import com.sun.jna.Structure;

import java.util.Arrays;
import java.util.List;

public class RAROpenArchiveData extends Structure {
    public String ArcName;
    public int OpenMode;
    public int OpenResult;
    public String CmtBuf;
    public int CmtBufSize;
    public int CmtSize;
    public int CmtState;

    @Override
    protected List<String> getFieldOrder() {
        return Arrays.asList(new String[]{
                "ArcName",
                "OpenMode",
                "OpenResult",
                "CmtBuf",
                "CmtBufSize",
                "CmtSize",
                "CmtState"
        });
    }
}
